<?php
namespace Admin\Model;
use Think\Model;
class SendWayModel extends Model {
    //自动验证
    protected $_validate = array(
         array('sendway_id','require','配送方式id必须！',self::EXISTS_VALIDATE ),
         array('sendway_name','require','配送方式必须！',self::EXISTS_VALIDATE ),
         array('sendway_status','require','开启状态必须！',self::EXISTS_VALIDATE ),
         
    );
    // 自动填充设置
    protected $_auto = array(
         
    );
}